package com.wdd.myplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wdd
 * @since 2022-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TOrder对象", description="")
public class TOrder implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    private Integer userId;

    private Long addressId;

    private String city;

    private Integer status;

    private String creator;

    private Date createTime;

    private String updater;

    private Date updateTime;


    public static final String ID = "id";

    public static final String USER_ID = "user_id";

    public static final String ADDRESS_ID = "address_id";

    public static final String CITY = "city";

    public static final String STATUS = "status";

    public static final String CREATOR = "creator";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATER = "updater";

    public static final String UPDATE_TIME = "update_time";

}
